package cn.demo.entity;

/**
 * @Author weizhongli
 * @Date 2020/4/20
 * @Version v1.0
 * @Description
 **/
public class Permission {
    private Integer id;
    private String name;
    private String keyword;

    public Permission() {
    }

    public Permission(Integer id, String name, String keyword) {
        this.id = id;
        this.name = name;
        this.keyword = keyword;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return "Permission{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", keyword='" + keyword + '\'' +
                '}';
    }
}
